﻿#ifndef __BULLETICON_H__
#define __BULLETICON_H__
#include"LifeIcon.h"
class Sprite;
class BulletIcon :public LifeIcon
{
public:
	BulletIcon() = default;
	BulletIcon(const QPoint& pos);
	~BulletIcon() = default;
	//void update();
	void draw(QPainter* painter);
	//void setNum(const int n);
	//显示降级倒计时
	void ShowTime(bool flag);
	//设置降级时间
	void  setTime(int time);
private:
	//QPoint 
	bool m_flag = false;
	int m_time = 0;

};
#endif